/* 首页样式表 */
/* 头部 */
#header .top{
    line-height: 28px;
}
/* 菜单 */
#header .logo{
    width: 200px;
    height: 113px;
    top:-28px;
}

/* 搜索框 */

/* 购物车+订单 */
#header .shopCar a{
    width: 100px;
    height: 36px;
    line-height: 36px;
    background: #ebebeb;
    border:1px solid #ccc;
    float: left;
    color:#808080;
}
#header .shopCar a:first-child{
    background:#f60 url(../imgs/bgicon.png) no-repeat 0 -42px;
    color:#fff;
    text-indent: 30px;
   border:1px solid #f60;
}

/* 导航 */
#header .nav{
    margin-left:235px;
}
#header .nav li{
    float:left;
    margin-right:35px;
}
#header .nav li a{
    color:#323232;
    font-weight: bold;
}

/* banner */
#banner .category{
    width: 200px;
    position: relative;
}

#banner .sliderbox{
    width: 1000px;
}


#banner .category li p {
    height: 35px;
    
    background-color: #f3f3f3;
    line-height: 35px;
    color: #f60;
    font-size: 14px;
    /*
        因为p本身就没有设置宽,默认的通栏显示
        这个情况 设置横向的 padding  不用做减法
    */
    padding-left: 16px;
    border: 1px solid transparent;
  
    
}
#banner .category li .active_p{
    border-color:  #f60 transparent #f60 #f60;
    background-color: #fff;
    position: relative;
    z-index: 888;

}

#banner .category li .active_div{
    display: block;
    z-index: 777;
    
}


#banner .category li div{
    width: 578px;
    height: 490px;
    background-color: #fff;
    border: 1px solid #f60;
    position: absolute;
    top: 0;
    left: 199px;
    display: none;

}

#banner #my_num_controls{
    width: 172px !important;
}

/*今日推荐*/


#recommend>ul>li{
    width: 200px;
    height: 248px;
    border-right: 2px solid #f60;
    border-bottom: 2px solid #f60;
    box-sizing: border-box;
    float: left;
}
#recommend>ul>li:nth-of-type(1){
    border-left: 2px solid #f60;
}
#recommend>ul>li:nth-of-type(7){
    border-left: 2px solid #f60;
}

#recommend>ul>li>div{
    text-align: center;
}
#recommend>ul>li>div>img{
    width: 148px;
    height: 145px;
}
#recommend>ul>li>.p_name{
    font-size: 14px;
    color: #333;
    
}
#recommend>ul>li>.p_info{
    font-size: 14px;
    color: #f4290d;
    
}
#recommend>ul>li>.price{
    font-size: 24px;
    color: #f4290d;
}   

/*电子书区域*/
#ebook .ebook_left{
    width: 900px;
}

#ebook .ebook_left .ebook_left_top>h2{
    width: 600px;
}
#ebook .ebook_left .ebook_left_top>ul{
    width: 300px;
    border-bottom: 6px solid #f60;

}

#ebook .ebook_left .ebook_left_top>ul li{
    float: left;
    font-size: 18px;
    color: #333;
    width: 100px;
    text-align: center;
    height: 34px;
    line-height: 34px;
    margin-top: 47px;

}
#ebook .ebook_left .ebook_left_top .ebook_tab .active{
    background-color: #F60;
    color: #fff;
}

#ebook .ebook_left .ebook_left_bottom .book_category{
    width: 238px;
    background-color: #f9f9f9;
}

#ebook .ebook_left .ebook_left_bottom .book_category li{
    float: left;
    width: 79px;
    font-size: 14px;
    color: #333;
    line-height: 38px;
}

#ebook .ebook_left .ebook_left_bottom .book_list{
   
    width: 660px;
    display: none;
}
/*注意权重*/
#ebook .ebook_left .ebook_left_bottom .show{
    display: block;
}

#ebook .ebook_left .ebook_left_bottom .book_list>li:nth-of-type(1){
    border-left: 2px solid gray;
    width: 330px;
}
#ebook .ebook_left .ebook_left_bottom .book_list>li:nth-of-type(4){
    border-left: 2px solid gray;
}

#ebook .ebook_left .ebook_left_bottom .book_list>li{
    border-right: 2px solid gray;
    border-bottom: 2px solid gray;
    width: 165px;
    height: 220px;
    box-sizing: border-box;
    float: left;
    

}
#ebook .ebook_left .ebook_left_bottom .book_list>li>div>img{
    margin: 18px 0;
}


/*电子书 右边的手风琴*/
#ebook .ebook_right{
    width: 284px;
    border: solid 2px #e5e5e5;
    margin-top: 81px;
}
#ebook .ebook_right>h2{
    line-height: 37px;
    font-size: 24px;
	font-weight: normal;
	color: #808080;
    text-align: center;
}
#ebook .ebook_right>ul{
    padding-left: 20px;

}
#ebook .ebook_right>ul>li{
    position: relative;
}
#ebook .ebook_right>ul>li:not(:last-child){
    border-bottom: 1px solid #e6e6e6;
}

#ebook .ebook_right>ul>li h3{
    line-height: 42px;
    font-size: 16px;
	font-weight: normal;
	color: #4d4d4d;
}
#ebook .ebook_right>ul>li>div{
    display: none;
}
#ebook .ebook_right>ul>li>.title_hide{
    display: none;
}
#ebook .ebook_right>ul>li>.book_show{
    display: block;
}
#ebook .ebook_right>ul>li>div img{
    width: 112px;
    height: 147px;

}
#ebook .ebook_right>ul>li>div p{
    width: 126px;
    margin-left: 10px;
}
#ebook .ebook_right>ul>li span{
    position: absolute;
    left: -14px;
    top: 9px;
    font-size: 16px;
	font-weight: normal;
	color: #ff2315;
}

/* 家居日用区域 */
/* 标题区域 */
.home_user .home_title{
    height: 40px;
    margin-top: 42px;
    line-height: 40px;
    font-weight: normal;
}

/* 家居日用内容区域 */
/* 左边区域 */
.home_content .left{
    width: 487px;
    height: 500px;
    border: 1px solid #ccc;
}
/* 右边区域 */
.home_content .right{
    width: 709px;
}

.home_content .right li{
    float: left;
}
.home_content .right li.img-top{
    height: 340px;
}
.home_content .right li.img-bottom{
    height: 160px;
}
.home_content .right a{
    display: block;
    width: 177px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}
.home_content .right .img-top a{
    height: 340px;
}
.home_content .right .img-bottom a{
    height: 162px;
}
.home_content .right img{
    width: 100%;
    height: 100%;
}

/* 推广商品区域 */

/* 推广商品标题 */
.produ_promotion .promo_title{
    height: 40px;
    margin-top: 42px;
    line-height: 40px;
}

/* 推广商品列表区域 */
.produ_promotion .produ_list{
    width: 1200px;
    margin-bottom: 50px;
}

.produ_promotion .produ_list li{
    float: left;
    width: 220px;
    height: 300px;
    padding: 25px 35px 0px 35px;
    margin-right: 25px;
    margin-top: 5px;
    background-color: #f2f2f2;  
    box-sizing: border-box;
    font-family: '黑体';
}
.produ_promotion .produ_list .last{
    margin-right: 0px;
}
.produ_list li>a{
    display: block;
    width: 150px;
    height: 150px;
}
.produ_list li>a>img{
    width: 100%;
    height: 100%;
}

.produ_list li p:nth-child(2){
    font-size: 14px;
    margin-top: 10px;
    margin-left: 5px;
}
.produ_list li p:nth-child(3){
    font-size: 24px;
    margin: 10px 0 8px 8px;
    color: #f4290d; 
}

/* 楼层滚动区域 */
.scroll{
    position: fixed;
    left: 50%;
    top: 50%;
    margin-left: -660px;
    margin-top: -100px;
    width: 40px;
    height: 200px;
    background-color: #eee;
}

.scroll>li{
    overflow: hidden;
    width: 0px;
    height: 40px;
    padding-left: 40px;
    line-height: 40px;
    text-align: center;
    color: #fff;
    background: url('../images/sprite.png') no-repeat;
}


.scroll>li.clothes{
    background-position: 0px -80px;
}
.scroll>li.sport{
    background-position: 0px -160px;
}
.scroll>li.children{
    background-position: 0px -200px;
}
.scroll>li.home{
    background-position: 0px -320px;
}

/* 头部滚动效果 */
.topScroll{
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 80px;
    background-color: #fff;
    box-shadow: 0px 1px 8px 0px 
    rgba(146, 146, 146, 0.4);
    z-index: 10;
}

.topScroll .logo{
    width: 105px;
    height: 60px;
    margin-top: 10px;
}

.topScroll .logo>img{
    width: 100%;
    height: 100%;
}

.topScroll .search{
    position: relative;
    width: 440px;
    margin-top: 22px;
    margin-left: 275px;
    line-height: 36px;
}
/* 中间搜索栏区域 */
.topScroll .search input{
    outline: none;
    border: none;
}
.topScroll .search input.keyword::-webkit-input-placeholder{
    text-indent: 1em;
}
.topScroll .search input.keyword{ 
    width: 440px;
    height: 32px;
    border: 2px solid #f60;
}
.topScroll .search input:nth-child(2){
    position: absolute;
    top: 0px;
    right: -2px;
    width: 50px;
    height: 36px;
    background-image: url('../images/bgicon.png');
    background-repeat: no-repeat;
    
}

 /* 右边购买信息区域  */
.topScroll .shop_infor{
    line-height: 36px;
    text-align: center;
}
.topScroll .shop_infor>div{
    width: 100px;
    height: 36px;
    margin-top: 22px;
    background-color: #ebebeb;
    border: solid 1px #cccccc;
    cursor: pointer;
}
.topScroll .shop_infor>div:nth-child(1){
    background-image: url('../images/bgicon.png');
    background-repeat: no-repeat;
    background-position: 0 -42px;
    text-indent: 30px;
    background-color: #f60;
    color: #fff;
}
/* 页尾区域样式组件 */

 /* 页尾区域 */
 .footer .process_infor{
    background-color: #f2f2f2;
    margin-bottom: 31px; 
}
/* 页尾区域的背景图片 */
.footer .process_infor>div{
    height: 100px;
    padding-top: 24px;
    box-sizing: border-box;
}
.process_infor .bg_img{
    width: 882px;
    margin: 0px auto;
}
.process_infor span {
    float: left;
    width: 138px;
    height: 52px;
    margin-right: 90px;
}
.process_infor span.bg{
    margin-right: 0px;
}
/* 第一张图片 */
.process_infor span{
    background-image: url('../images/footer_bg.png');
}
/* 第二张图片 */
.process_infor span:nth-child(2){
    background-position: 0 -52px;
}
/* 第三张图片 */
.process_infor span:nth-child(3){
    background-position: 0 -104px;
}
/* 第四张图片 */
.process_infor span:nth-child(4){
    background-position: 0 -156px;
}

/* 页脚内容 */

.footer .content{
    width: 960px;
    margin: 0 auto;
}
.footer .content dl{
    float: left;
    width: 120px;
    margin-left: 40px;
    text-align: center;
}
.footer .content dt>a{
    display: block;
    height: 32px;
    line-height: 32px;
    font-size: 18px;
    font-weight: bold;
    color: #4d4d4d;
}
.footer .content dd>a{
    display: block;
    height: 28px;
    font-size: 16px;
    line-height: 28px;
    color: #4d4d4d;
} 
/* 页尾logo */
.footer .content .logo{
    width: 113px;
    height: 78px;
    margin-top: 33px;
    background-image: url('../images/logo_00.png');
    background-position: center center;
}

/* 页尾导航栏 */
.footer .fin_nav{
    width: 882px;
    margin: 0 auto;
    margin-top: 46px;
    margin-bottom: 20px;
}
.footer .fin_nav a{
    font-size: 14px;
    color: #333;
}
.footer .fin_nav span{
    margin: 0 15px;
}

/* 版权区域 */
.footer .copyright{
    margin-bottom: 106px;
    text-align: center;
    
}

/* 楼层跳转 */
#floorBox{
    width: 40px;
    height:200px;
    background: #f2f2f2;
    position: fixed;
    top:200px;
    left:50%;
    margin-left: -650px;
}

#floorBox ul li{
    width: 40px;
    height: 40px;
    background: url(../imgs/floor.png) no-repeat;
    line-height: 40px;
    text-indent:40px;
    overflow: hidden;
    color:#fff;
}
#floorBox ul li.fbg01{
    background-position: 0 0;
}
#floorBox ul li.fbg02{
    background-position: 0 -80px;
}
#floorBox ul li.fbg03{
    background-position: 0 -160px;
}
#floorBox ul li.fbg04{
    background-position: 0 -200px;
}
#floorBox ul li.fbg05{
    background-position: 0 -320px;
}
/* hover效果 */
#floorBox ul li:hover{
    width: 80px;
    background-color: #f60;
    background-position-x: -40px; 
}


/* 固定头部 */
#fixedHeader{
    width: 100%;  /*因为 固定定位 脱离文档流*/
    height:50px;
    background-color: #fff;
    border-bottom:2px solid #f60;
    position: fixed;  /*固定定位*/
    top:0;
    left:0;
    display: none;
    z-index: 999;
    
}
/*fixedHeader 下面form位置的单独调整*/
#fixedHeader .search{
    position: absolute;
    top:5px;
    left:50%;
    /*往回调 自己的宽度 一半*/
    margin-left:-195px;
}